namespace CarErp.Migrations
{
    using System;
    using System.Data.Entity;
    using System.Data.Entity.Migrations;
    using System.Linq;

    internal sealed class Configuration : DbMigrationsConfiguration<CarErp.Data.CarERPContext>
    {
        public Configuration()
        {
            AutomaticMigrationsEnabled = false;
        }

        protected override void Seed(CarErp.Data.CarERPContext context)
        {
			context.Users.AddOrUpdate(
				x => x.Id,
				new Model.User("123", "123", Model.Role.Submitter),
				new Model.User("321", "321", Model.Role.Approver));
		}
    }
}
